package com.youlu.campus.entity.domain;

import com.youlu.campus.entity.UserPO;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
public class UserResponse implements Serializable {
    public String id;

    private String avatarUrl;

    private String nickName;

    private String openId;

    private String unionId;

    private String token;
    /**
     * 大学编码
     */
    protected String universityValue;
    /**
     * 大学名称
     */
    protected String universityName;
    /**
     * 大学ID
     */
    protected String universityId;
    /**
     * 平台
     */
    protected String platform;
    /**
     * 是否已经绑定手机号
     */
    protected boolean bindMobile = false;

    private String name;

    private String mobile;

    private String province;

    private String city;

    private String addresss;

    private String area;

    private boolean rewarded = false;

    private UserPO userPO;

    private Boolean authorized;
    /**
     * sms,wechat,qq,wechat-third,password
     */
    private String authorizeMode="wechat";

}
